# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinx-theme-bootstrap
_pkgname=sphinx-bootstrap-theme
pkgver=0.7.1
pkgrel=1
pkgdesc="The Bootstrap Sphinx theme"
url="http://ryan-roemer.github.com/sphinx-bootstrap-theme"
arch="noarch"
license="MIT"
depends="python3 py3-sphinx"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-sphinx-theme-bootstrap" # Backwards compatibility
replaces="py-sphinx-theme-bootstrap=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8bc7306fce477619f7e0733aa6d8702027d3175a952570ff457ca62976ce3fbb4f9ef477fbb3fa2e972a9edf03950d588241168e5b0227503ef1a44df7adcfa4  sphinx-bootstrap-theme-0.7.1.tar.gz"
